package com.mesSystem.service.impl.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mesSystem.entity.Equipment;
import com.mesSystem.mapper.EmployeeMapper;
import com.mesSystem.mapper.EquipmentMapper;
import com.mesSystem.service.impl.EmployeeService;
import com.mesSystem.service.impl.EquipmentService;
import org.springframework.stereotype.Service;

@Service
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment> implements EquipmentService {
    public String getEquipmentName(Long equipmentId) {
        String equipmentName = getById(equipmentId).getName();
        return equipmentName;
    }
}
